//
//  CJUploadAuthenticationSucessController.m
//  Boss
//
//  Created by admin on 2018/9/14.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "CJUploadAuthenticationSucessController.h"
#import "CJAuthenticationController.h"
@interface CJUploadAuthenticationSucessController ()

@end

@implementation CJUploadAuthenticationSucessController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    self.navigationItem.title = @"加V认证";
    
   self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"通用_返回白"] style:(UIBarButtonItemStylePlain) target:self action:@selector(back)];
}
-(void)back{
    
    for (UIViewController *controller in self.navigationController.viewControllers) {
        if ([controller isKindOfClass:[CJAuthenticationController class]]) {
            CJAuthenticationController *A =(CJAuthenticationController *)controller;
            [self.navigationController popToViewController:A animated:YES];
        }
    }
    //[self popViewControllerAnimated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
